package com.nsl.my_youlai.mystar.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

import lombok.Getter;

public enum NslEnumClassTypeName implements NslEnumBaseI<String> {

    PRIMITIVE_INT("int","int"),
    PRIMITIVE_FLOAT("float","float"),
    PRIMITIVE_DOUBLE("double","double"),

    INTEGER("java.lang.Integer","Integer"),

    FLOAT("java.lang.Float","Float"),

    DOUBLE("java.lang.Double","Double"),

    STRING("java.lang.String","String"),



    ;
    @Getter
    @EnumValue
    private String value;

    @Getter
    private String label;

    NslEnumClassTypeName(String value, String label) {
        this.value = value;
        this.label = label;
    }

    public String getExtension(){
        return this.value;
    }

    @Override
    public EnumTypeEnum getEnumType() {
        return EnumTypeEnum.CLASS_NAME_TYPE_ENUM;
    }
}
